package com.punch.course.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.punch.common.model.SuperEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * PunchClassRoom-教室
 *
 * @author xiaol
 * @version 1.0.0
 * @since 2020/7/18 10:00
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("punch_class_room")
public class PunchClassRoom extends SuperEntity<PunchClassRoom> {

    private static final long serialVersionUID = 1L;

    /**
     * 教室名称
     */
    @TableField("class_room_name")
    private String classRoomName;

    /**
     * 教室容纳人数 （人）
     */
    @TableField("class_room_capacity")
    private Integer classRoomCapacity;

    /**
     * 禁用状态  0：禁用  1启用
     */
    @TableField("enabled")
    private Integer enabled;

    /**
     * uid
     */
    @TableField("create_id")
    private Long createId;


    /**
     * 创建者姓名
     */
    @TableField("create_name")
    private String createName;
    /**
     * 所属地区ID
     */
    @TableField("area_id")
    private Integer areaId;

    /**
     * 当前地区id与父地区id
     */
    @TableField("all_area_ids")
    private String allAreaId;
    /**
     * 所属地区Name
     */
    @TableField("area_name")
    private String areaName;

}
